const businessColumns = {
  price: [
    {
      title: '业务分类',
      dataIndex: 'name',
      scopedSlots: { customRender: 'name' }
    },
    {
      title: '业务组别',
      dataIndex: 'cat_group',
      scopedSlots: { customRender: 'cat_group' }
    },
    {
      title: '官费（元）',
      dataIndex: 'official_fee'
    },
    {
      title: '建议报价下限（元）',
      dataIndex: 'offer_section_lft'
    },
    {
      title: '回执时间',
      dataIndex: 'receipt_time'
    },
    {
      title: '申请周期',
      dataIndex: 'application_cycle'
    },
    {
      title: '有效期',
      dataIndex: 'period_of_validity'
    },
    // {
    //   title: '建议报价上限（元）',
    //   dataIndex: 'offer_section_rgt'
    // },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  iso: [
    {
      title: '业务小类',
      dataIndex: 'name',
      scopedSlots: {
        customRender: 'name',
        filterDropdown: 'filterDropdown'
      },
      width: '640px'
    },
    {
      title: '认证类型',
      dataIndex: 'auth_type',
      scopedSlots: { customRender: 'auth_type' },
      filters: [
        { value: 'at1', text: '初审' },
        { value: 'at2', text: '监督' },
        { value: 'at3', text: '再认证' },
        { value: 'at4', text: '初审/再认证' },
        { value: 'at5', text: '初审/监督/再认证' }
      ],
      filterMultiple: false
    },
    {
      title: '业务组别',
      dataIndex: 'cat_group',
      filters: [
        { value: 'isodtx', text: '单体系' },
        { value: 'isoshtx', text: '双体系' },
        { value: 'isostx', text: '三体系' }
      ],
      filterMultiple: false
    },
    {
      title: '人数',
      dataIndex: 'enterprise_persons',
      scopedSlots: { customRender: 'enterprise_persons' },
      filters: [
        { value: 'ep1', text: '1-25' },
        { value: 'ep2', text: '26-65' },
        { value: 'ep3', text: '66-125' },
        { value: 'ep4', text: '126-275' },
        { value: 'ep5', text: '276-425' },
        { value: 'ep6', text: '426-625' },
        { value: 'ep7', text: '626-875' },
        { value: 'ep8', text: '876-1175' },
        { value: 'ep9', text: '1176-1550' },
        { value: 'ep10', text: '1551-2025' },
        { value: 'ep11', text: '2026-2675' },
        { value: 'ep12', text: '2676-3450' },
        { value: 'ep13', text: '3451-4350' },
        { value: 'ep14', text: '4351-5450' },
        { value: 'ep15', text: '5451-6800' },
        { value: 'ep16', text: '6801-8500' },
        { value: 'ep17', text: '8501-10700' },
        { value: 'ep18', text: '>10700' },
        { value: 'ep19', text: '1-45' },
        { value: 'ep20', text: '46-65' },
        { value: 'ep21', text: '1-27' },
        { value: 'ep22', text: '28-39' },
        { value: 'ep23', text: '40-54' },
        { value: 'ep24', text: '55-71' },
        { value: 'ep25', text: '72-93' },
        { value: 'ep26', text: '94-117' },
        { value: 'ep27', text: '118-146' },
        { value: 'ep28', text: '147-172' },
        { value: 'ep29', text: '173-203' },
        { value: 'ep30', text: '204-237' },
        { value: 'ep31', text: '238-275' }
      ],
      filterMultiple: false
    },
    {
      title: '风险等级',
      dataIndex: 'risk',
      scopedSlots: { customRender: 'risk' },
      filters: [
        { value: 'ri1', text: '低风险' },
        { value: 'ri2', text: '中风险' },
        { value: 'ri3', text: '高风险' },
        { value: 'ri4', text: '不分风险' }
      ],
      filterMultiple: false
    },
    {
      title: '官费（元）',
      dataIndex: 'official_fee',
      sorter: true
    },
    {
      title: '最低报价（元）',
      dataIndex: 'offer_section_lft',
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' },
      width: '80px'
    }
  ],
  tmColumns: [
    // {
    //   title: '客户来源',
    //   dataIndex: 'source',
    //   scopedSlots: { customRender: 'source' }
    // },
    // {
    //   title: '首次咨询类型',
    //   dataIndex: 'first_type',
    //   scopedSlots: { customRender: 'first_type' }
    // },
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: {
        customRender: 'contract_no',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '业务名称',
      dataIndex: 'sb_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '业务小类',
      dataIndex: 'business_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '商标注册号',
      dataIndex: 'sb_reg_no'
    },
    {
      title: '申请主体',
      dataIndex: 'subject',
      scopedSlots: { customRender: 'subject' },
      ellipsis: true
    },
    {
      title: '联系电话',
      dataIndex: 'phone'
    },
    {
      title: '业务价格',
      dataIndex: 'price',
      scopedSlots: { customRender: 'price' },
      sorter: true
    },
    // {
    //   title: '官费',
    //   dataIndex: 'official_fee',
    //   scopedSlots: { customRender: 'official_fee' },
    //   sorter: true
    // },
    // {
    //   title: '代理费',
    //   dataIndex: 'agency_fee',
    //   scopedSlots: { customRender: 'agency_fee' },
    //   sorter: true
    // },
    {
      title: '进展状态',
      dataIndex: 'status2',
      width: '150px',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '顾问姓名',
      dataIndex: 'username',
      scopedSlots: { customRender: 'username' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  ptColumns: [
    // {
    //   title: '客户来源',
    //   dataIndex: 'source',
    //   scopedSlots: { customRender: 'source' }
    // },
    // {
    //   title: '首次咨询类型',
    //   dataIndex: 'first_type',
    //   scopedSlots: { customRender: 'first_type' }
    // },
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '业务名称',
      dataIndex: 'zl_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '业务小类',
      dataIndex: 'business_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '申请主体',
      dataIndex: 'subject',
      scopedSlots: { customRender: 'subject' },
      ellipsis: true
    },
    {
      title: '联系电话',
      dataIndex: 'phone'
    },
    {
      title: '业务价格',
      dataIndex: 'price',
      scopedSlots: { customRender: 'price' },
      sorter: true
    },
    // {
    //   title: '官费',
    //   dataIndex: 'official_fee',
    //   scopedSlots: { customRender: 'official_fee' },
    //   sorter: true
    // },
    // {
    //   title: '代理费',
    //   dataIndex: 'agency_fee',
    //   scopedSlots: { customRender: 'agency_fee' },
    //   sorter: true
    // },
    {
      title: '进展状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '顾问姓名',
      dataIndex: 'username',
      scopedSlots: { customRender: 'username' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  cpColumns: [
    {
      title: '客户来源',
      dataIndex: 'source',
      scopedSlots: { customRender: 'source' }
    },
    {
      title: '首次咨询类型',
      dataIndex: 'first_type',
      scopedSlots: { customRender: 'first_type' }
    },
    {
      title: '联系电话',
      dataIndex: 'phone'
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '业务名称',
      dataIndex: 'bq_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '业务小类',
      dataIndex: 'business_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '业务价格',
      dataIndex: 'price',
      scopedSlots: { customRender: 'price' },
      sorter: true
    },
    {
      title: '官费',
      dataIndex: 'official_fee',
      scopedSlots: { customRender: 'official_fee' },
      sorter: true
    },
    {
      title: '代理费',
      dataIndex: 'agency_fee',
      scopedSlots: { customRender: 'agency_fee' },
      sorter: true
    },
    {
      title: '进展状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '顾问姓名',
      dataIndex: 'username'
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  dsColumns: [
    {
      title: '客户来源',
      dataIndex: 'source',
      scopedSlots: { customRender: 'source' }
    },
    {
      title: '联系电话',
      dataIndex: 'phone'
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '业务小类',
      dataIndex: 'business_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '官费',
      dataIndex: 'official_fee',
      scopedSlots: { customRender: 'official_fee' },
      sorter: true
    },
    {
      title: '代理费',
      dataIndex: 'agency_fee',
      scopedSlots: { customRender: 'agency_fee' },
      sorter: true
    },
    {
      title: '进展状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '顾问姓名',
      dataIndex: 'username'
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  gjColumns: [
    {
      title: '客户来源',
      dataIndex: 'source',
      scopedSlots: { customRender: 'source' }
    },
    {
      title: '首次咨询类型',
      dataIndex: 'first_type',
      scopedSlots: { customRender: 'first_type' }
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: {
        customRender: 'contract_no',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '业务小类',
      dataIndex: 'business_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '客户电话',
      dataIndex: 'phone',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '官费',
      dataIndex: 'official_fee',
      scopedSlots: { customRender: 'official_fee' },
      sorter: true
    },
    {
      title: '代理费',
      dataIndex: 'agency_fee',
      scopedSlots: { customRender: 'agency_fee' },
      sorter: true
    },
    {
      title: '进展状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '顾问姓名',
      dataIndex: 'username',
      scopedSlots: { filterDropdown: 'filterSelect' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  otColumns: [
    {
      title: '客户来源',
      dataIndex: 'source',
      scopedSlots: { customRender: 'source' }
    },
    {
      title: '首次咨询类型',
      dataIndex: 'first_type',
      scopedSlots: { customRender: 'first_type' }
    },
    {
      title: '联系电话',
      dataIndex: 'phone'
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: {
        customRender: 'contract_no',
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '业务小类',
      dataIndex: 'business_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '客户电话',
      dataIndex: 'phone',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '官费',
      dataIndex: 'official_fee',
      scopedSlots: { customRender: 'official_fee' },
      sorter: true
    },
    {
      title: '代理费',
      dataIndex: 'agency_fee',
      scopedSlots: { customRender: 'agency_fee' },
      sorter: true
    },
    {
      title: '进展状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '顾问姓名',
      dataIndex: 'username',
      scopedSlots: { filterDropdown: 'filterSelect' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  stop: [
    {
      title: '商标名称',
      dataIndex: 'trade_name',
      key: 'trade_name'
    },
    {
      title: '商标类别',
      dataIndex: 'trade_category',
      key: 'trade_category'
    },
    {
      title: '业务名称',
      dataIndex: 'business_name',
      key: 'business_name'
    },
    {
      title: '客户电话',
      dataIndex: 'customer_phone',
      key: 'customer_phone'
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      key: 'contract_no'
    },
    {
      title: '业务编号',
      dataIndex: 'business_no',
      key: 'business_no'
    },
    {
      title: '操作',
      dataIndex: 'action',
      key: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  move: [
    {
      title: '原顾问',
      dataIndex: 'af_username'
    },
    {
      title: '新顾问',
      dataIndex: 'at_username'
    },
    {
      title: '转移人',
      dataIndex: 'op_username'
    },
    {
      title: '转移时间',
      dataIndex: 'created_at'
    }
  ],
  all: [
    {
      title: '客户来源',
      dataIndex: 'source',
      scopedSlots: { customRender: 'source' }
    },
    {
      title: '咨询类型',
      dataIndex: 'first_type',
      scopedSlots: { customRender: 'first_type' }
    },
    {
      title: '联系电话',
      dataIndex: 'phone'
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: {
        customRender: 'contract_no'
      }
    },
    {
      title: '业务小类',
      dataIndex: 'business_name'
    },
    {
      title: '官费',
      dataIndex: 'price',
      scopedSlots: { customRender: 'price' },
      sorter: true,
      needTotal: true
    },
    {
      title: '官费',
      dataIndex: 'official_fee',
      scopedSlots: { customRender: 'official_fee' },
      sorter: true,
      needTotal: true
    },
    {
      title: '代理费',
      dataIndex: 'agency_fee',
      scopedSlots: { customRender: 'agency_fee' },
      sorter: true,
      needTotal: true
    },
    {
      title: '进展状态',
      dataIndex: 'status2',
      width: '150px',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '顾问姓名',
      dataIndex: 'username'
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  hidden_business: [
    {
      title: '业务编号',
      dataIndex: 'business_no'
    },
    {
      title: '业务分类',
      dataIndex: ''
    },
    {
      title: '业务名称',
      dataIndex: 'phone'
    },
    {
      title: '联系电话',
      dataIndex: 'phone'
    },
    {
      title: '注册名称',
      dataIndex: 'tm_name'
    },
    {
      title: '申请主体',
      dataIndex: 'subject'
    },
    {
      title: '状态'
    },
    {
      title: '所属顾问',
      dataIndex: 'adviser_name'
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  tmModal1: [
    {
      title: '商标/专利注册号',
      dataIndex: 'sb_reg_no',
      scopedSlots: { customRender: 'sb_reg_no' }
    },
    {
      title: '注册类型',
      dataIndex: 'business_name'
    },
    {
      title: '商标/专利名',
      dataIndex: 'sb_name',
      scopedSlots: { customRender: 'sb_name' }
    },
    {
      title: '当前进展',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    }
  ]
}

export default businessColumns
